<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('网格员列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 select-table table-striped table-hover">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = '';//[[${@permission.hasPermi('jjm:memeber:edit')}]];
        var removeFlag = '';//[[${@permission.hasPermi('jjm:memeber:remove')}]];
        var prefix = ctx + "jjm/memeber";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                modalName: "网格员",
                showSearch: false,
                showRefresh: false,
                showToggle: false,
                showColumns: false,
                columns: [
                {
                    field: 'id',
                    title: '编号'
                },
                {
                    field: 'name',
                    title: '网格员姓名'
                },
                {
                    field: 'households',
                    title: '负责户数'
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>